import React from 'react';
import {PageHeaderWrapper} from '@ant-design/pro-layout'

const Admin: React.FC = (props)=>{
  const {children} = props;
  return(
    <PageHeaderWrapper content={'这个页面只有admin权限才能查看'}>
      {children}
    </PageHeaderWrapper>
  );
};
export default Admin;
